package com.gm.ofi.orm.mybatis.service.impl;

import javax.inject.Inject;

import org.springframework.stereotype.Service;

import com.gm.ofi.orm.mybatis.dao.BaseDAO;
import com.gm.ofi.orm.mybatis.dao.impl.UsersDAOImpl;
import com.gm.ofi.orm.mybatis.model.Users;
import com.gm.ofi.orm.mybatis.model.UsersExample;
import com.gm.ofi.orm.mybatis.service.BaseServiceImpl;
@Service
public class UsersServiceImpl extends BaseServiceImpl<Users, UsersExample> {
//	@Inject
//	private UsersMapper userMapper;
//
//	@Override
//	protected BaseMapper<Users, UsersExample> getMapper() {
//		// TODO Auto-generated method stub
//		return userMapper;
//	}
	
	@Inject
	private UsersDAOImpl userDAO;

	@Override
	protected BaseDAO<Users, UsersExample> getDAO() {
		// TODO Auto-generated method stub
		return userDAO;
	}

}
